package com.mutual.sendSmsHistory.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.mutual.sendSmsHistory.dao.SendSmsHistoryDao;
import com.mutual.sendSmsHistory.pojo.SendSmsHistory;
import com.mutual.sendSmsHistory.service.SendSmsHistoryService;

@Service
public class SendSmsHistoryServiceImpl implements SendSmsHistoryService{

	@Resource
	private SendSmsHistoryDao sendSmsHistoryDao;
	
	@Override
	public void insert(SendSmsHistory h) {
		sendSmsHistoryDao.insertSelective(h);
	}

	@Override
	public List<SendSmsHistory> selectSendSmsHistoryList(SendSmsHistory h) {
		return sendSmsHistoryDao.selectObjectList(h);
	}

}
